package utils;

import java.util.Comparator;
import data.Package;

public class CarrierShuffleComparatorASC implements Comparator<Package> {

    @Override
    public int compare(Package arg0, Package arg1) {
	if (arg0.getCapacity() > arg1.getCapacity())
	    return 1;
	else if (arg0.getCapacity() == arg1.getCapacity())
	    return 0;
	else
	    return -1;
    }
}
